package com.acegear.horizon.domain.models.vo;

import com.acegear.horizon.domain.models.jpa.ContentPart;

import java.util.List;

/**
 * Created by wangsike on 2017/2/6.
 */
public class CommentVO {
    private Long postId;

    private Long userId;

    private String nickname;

    private String avatar;

    private Long commentId;

    private Long floor;

    private Long replyTo;

    private Long replyFloor;

    private Long createAt;

    private boolean deleted;

    private List<ContentPart> contents;

    public CommentVO() {
    }

    public CommentVO(Long postId, Long userId, String nickname, String avatar, Long commentId, Long floor, Long replyTo, Long replyFloor, List<ContentPart> contents, Long createAt,boolean deleted) {
        this.postId = postId;
        this.userId = userId;
        this.nickname = nickname;
        this.avatar = avatar;
        this.commentId = commentId;
        this.floor = floor;
        this.replyTo = replyTo;
        this.replyFloor = replyFloor;
        this.contents = contents;
        this.createAt = createAt;
        this.deleted = deleted;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getFloor() {
        return floor;
    }

    public void setFloor(Long floor) {
        this.floor = floor;
    }

    public Long getReplyTo() {
        return replyTo;
    }

    public void setReplyTo(Long replyTo) {
        this.replyTo = replyTo;
    }

    public Long getReplyFloor() {
        return replyFloor;
    }

    public void setReplyFloor(Long replyFloor) {
        this.replyFloor = replyFloor;
    }

    public List<ContentPart> getContents() {
        return contents;
    }

    public void setContents(List<ContentPart> contents) {
        this.contents = contents;
    }

    public Long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Long createAt) {
        this.createAt = createAt;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
